﻿using Eassets.Data.Asset;

namespace Eassets.Service.Asset
{
    public class TransactionSerialService
    {
        TransactionSerialData transactionSerialData = new TransactionSerialData();

        public long GetMaxTransactionSerialByWorkFlowDocumentCode(string documentCode)
        {
            return transactionSerialData.GetMaxTransactionSerialByWorkFlowDocumentCode(documentCode);
        }

        public void UpdateTransactionSerial(string workFlowDocumentCode)
        {
            transactionSerialData.UpdateTransactionSerial(workFlowDocumentCode);
        }
    }
}
